#!/bin/bash -ex

mkdir bin
wget -O dirb.tar.gz https://downloads.sourceforge.net/project/dirb/dirb/2.22/dirb222.tar.gz
tar -xf dirb.tar.gz

chmod -R a+X dirb222/
cd dirb222
chmod a+x configure
./configure
make
cp dirb ../bin
